<div class="markers view">
<h2><?php  __('Marker');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lat'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['lat']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lng'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['lng']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Postal Code'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['postal_code']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Country Code'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['country_code']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Formatted Address'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['formatted_address']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Type'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['type']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Is Active'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['is_active']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $marker['Marker']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Marker', true), array('action' => 'edit', $marker['Marker']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('Delete Marker', true), array('action' => 'delete', $marker['Marker']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $marker['Marker']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Markers', true), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Marker', true), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guide Requests', true), array('controller' => 'guide_requests', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide Request', true), array('controller' => 'guide_requests', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Guides', true), array('controller' => 'guides', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Venues', true), array('controller' => 'venues', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Venue', true), array('controller' => 'venues', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php __('Related Guide Requests');?></h3>
	<?php if (!empty($marker['GuideRequest'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Guide Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('Title'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Privacy Id'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($marker['GuideRequest'] as $guideRequest):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guideRequest['id'];?></td>
			<td><?php echo $guideRequest['guide_id'];?></td>
			<td><?php echo $guideRequest['user_id'];?></td>
			<td><?php echo $guideRequest['marker_id'];?></td>
			<td><?php echo $guideRequest['title'];?></td>
			<td><?php echo $guideRequest['description'];?></td>
			<td><?php echo $guideRequest['privacy_id'];?></td>
			<td><?php echo $guideRequest['is_active'];?></td>
			<td><?php echo $guideRequest['created'];?></td>
			<td><?php echo $guideRequest['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guide_requests', 'action' => 'view', $guideRequest['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guide_requests', 'action' => 'edit', $guideRequest['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guide_requests', 'action' => 'delete', $guideRequest['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guideRequest['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide Request', true), array('controller' => 'guide_requests', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Guides');?></h3>
	<?php if (!empty($marker['Guide'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Created By'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('Name'); ?></th>
		<th><?php __('Description'); ?></th>
		<th><?php __('Keywords'); ?></th>
		<th><?php __('Address'); ?></th>
		<th><?php __('Votes'); ?></th>
		<th><?php __('Rating'); ?></th>
		<th><?php __('Privacy Id'); ?></th>
		<th><?php __('Is Featured'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($marker['Guide'] as $guide):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $guide['id'];?></td>
			<td><?php echo $guide['created_by'];?></td>
			<td><?php echo $guide['marker_id'];?></td>
			<td><?php echo $guide['name'];?></td>
			<td><?php echo $guide['description'];?></td>
			<td><?php echo $guide['keywords'];?></td>
			<td><?php echo $guide['address'];?></td>
			<td><?php echo $guide['votes'];?></td>
			<td><?php echo $guide['rating'];?></td>
			<td><?php echo $guide['privacy_id'];?></td>
			<td><?php echo $guide['is_featured'];?></td>
			<td><?php echo $guide['is_active'];?></td>
			<td><?php echo $guide['created'];?></td>
			<td><?php echo $guide['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'guides', 'action' => 'view', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'guides', 'action' => 'edit', $guide['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'guides', 'action' => 'delete', $guide['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $guide['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Guide', true), array('controller' => 'guides', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Venues');?></h3>
	<?php if (!empty($marker['Venue'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Marker Id'); ?></th>
		<th><?php __('User Id'); ?></th>
		<th><?php __('Venue Type'); ?></th>
		<th><?php __('Is Active'); ?></th>
		<th><?php __('Created'); ?></th>
		<th><?php __('Modified'); ?></th>
		<th class="actions"><?php __('Actions');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($marker['Venue'] as $venue):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $venue['id'];?></td>
			<td><?php echo $venue['marker_id'];?></td>
			<td><?php echo $venue['user_id'];?></td>
			<td><?php echo $venue['venue_type'];?></td>
			<td><?php echo $venue['is_active'];?></td>
			<td><?php echo $venue['created'];?></td>
			<td><?php echo $venue['modified'];?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View', true), array('controller' => 'venues', 'action' => 'view', $venue['id'])); ?>
				<?php echo $this->Html->link(__('Edit', true), array('controller' => 'venues', 'action' => 'edit', $venue['id'])); ?>
				<?php echo $this->Html->link(__('Delete', true), array('controller' => 'venues', 'action' => 'delete', $venue['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $venue['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Venue', true), array('controller' => 'venues', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
